function makeSalary(base,performance) {

    return base +　performance;
}

const s5 = 10000,
    s6 = 20000;

let A,B,C;

A = makeSalary(s5,3000);
B = makeSalary(s5,4000);
C = makeSalary(s6,3000);

console.log(A,B,C);